package cn.edu.seu.ssny.service;


import cn.edu.seu.ssny.entity.*;
import cn.edu.seu.ssny.service.support.IBaseService;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Optional;

public interface ILoginLogService extends IBaseService<LoginLog,Integer> {
    List<LoginLog> findByUser(User user);

    void login(User user, Enterprise enterprise);

    void logout(User user);
}

